import Layout from '@/layout'
// Layout组件中包含
export default {
  path: '/employees',
  component: Layout,
  children: [{
    path: '',
    name: 'employees',
    component: () => import('@/views/employees/employees'),
    meta: { title: '员工管理', icon: 'people' }
  },

  // {
  //   path: 'detail',
  //   component: () => import('@/views/employees/detail'),
  //   name: 'employeesDetail',
  //   hidden: true
  // }]
  {
    path: 'detail/:id/:username',
    component: () => import('@/views/employees/detail'),
    name: 'employeesDetail',
    hidden: true
  }]
}
